package org.apache.dolphinscheduler.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("t_ds_user_group_worker")
public class UserGroupWorker {

	@TableId(value = "id", type = IdType.AUTO)
    private Integer id;
	
	private Integer userGroupId;
	private Integer workerId;
	
	@TableField(exist = false)
	private WorkerGroup workerGroup;
	
}
